﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008FD RID: 2301
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusSnsPostScRsp : IMessage<HeliobusSnsPostScRsp>, IMessage, IEquatable<HeliobusSnsPostScRsp>, IDeepCloneable<HeliobusSnsPostScRsp>, IBufferMessage
	{
		// Token: 0x17001D1A RID: 7450
		// (get) Token: 0x0600671F RID: 26399 RVA: 0x00114C45 File Offset: 0x00112E45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusSnsPostScRsp> Parser
		{
			get
			{
				return HeliobusSnsPostScRsp._parser;
			}
		}

		// Token: 0x17001D1B RID: 7451
		// (get) Token: 0x06006720 RID: 26400 RVA: 0x00114C4C File Offset: 0x00112E4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusSnsPostScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001D1C RID: 7452
		// (get) Token: 0x06006721 RID: 26401 RVA: 0x00114C5E File Offset: 0x00112E5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusSnsPostScRsp.Descriptor;
			}
		}

		// Token: 0x06006722 RID: 26402 RVA: 0x00114C65 File Offset: 0x00112E65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSnsPostScRsp()
		{
		}

		// Token: 0x06006723 RID: 26403 RVA: 0x00114C70 File Offset: 0x00112E70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSnsPostScRsp(HeliobusSnsPostScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.hMNMLONMPMA_ = ((other.hMNMLONMPMA_ != null) ? other.hMNMLONMPMA_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006724 RID: 26404 RVA: 0x00114CBC File Offset: 0x00112EBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSnsPostScRsp Clone()
		{
			return new HeliobusSnsPostScRsp(this);
		}

		// Token: 0x17001D1D RID: 7453
		// (get) Token: 0x06006725 RID: 26405 RVA: 0x00114CC4 File Offset: 0x00112EC4
		// (set) Token: 0x06006726 RID: 26406 RVA: 0x00114CCC File Offset: 0x00112ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001D1E RID: 7454
		// (get) Token: 0x06006727 RID: 26407 RVA: 0x00114CD5 File Offset: 0x00112ED5
		// (set) Token: 0x06006728 RID: 26408 RVA: 0x00114CDD File Offset: 0x00112EDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PDDIMHHHMKL HMNMLONMPMA
		{
			get
			{
				return this.hMNMLONMPMA_;
			}
			set
			{
				this.hMNMLONMPMA_ = value;
			}
		}

		// Token: 0x06006729 RID: 26409 RVA: 0x00114CE6 File Offset: 0x00112EE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusSnsPostScRsp);
		}

		// Token: 0x0600672A RID: 26410 RVA: 0x00114CF4 File Offset: 0x00112EF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusSnsPostScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.HMNMLONMPMA, other.HMNMLONMPMA) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600672B RID: 26411 RVA: 0x00114D44 File Offset: 0x00112F44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.hMNMLONMPMA_ != null)
			{
				num ^= this.HMNMLONMPMA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600672C RID: 26412 RVA: 0x00114D99 File Offset: 0x00112F99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600672D RID: 26413 RVA: 0x00114DA1 File Offset: 0x00112FA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600672E RID: 26414 RVA: 0x00114DAC File Offset: 0x00112FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.hMNMLONMPMA_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.HMNMLONMPMA);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600672F RID: 26415 RVA: 0x00114E08 File Offset: 0x00113008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.hMNMLONMPMA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HMNMLONMPMA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006730 RID: 26416 RVA: 0x00114E60 File Offset: 0x00113060
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusSnsPostScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.hMNMLONMPMA_ != null)
			{
				if (this.hMNMLONMPMA_ == null)
				{
					this.HMNMLONMPMA = new PDDIMHHHMKL();
				}
				this.HMNMLONMPMA.MergeFrom(other.HMNMLONMPMA);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006731 RID: 26417 RVA: 0x00114EC8 File Offset: 0x001130C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006732 RID: 26418 RVA: 0x00114ED4 File Offset: 0x001130D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.hMNMLONMPMA_ == null)
					{
						this.HMNMLONMPMA = new PDDIMHHHMKL();
					}
					input.ReadMessage(this.HMNMLONMPMA);
				}
			}
		}

		// Token: 0x04002767 RID: 10087
		private static readonly MessageParser<HeliobusSnsPostScRsp> _parser = new MessageParser<HeliobusSnsPostScRsp>(() => new HeliobusSnsPostScRsp());

		// Token: 0x04002768 RID: 10088
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002769 RID: 10089
		public const int RetcodeFieldNumber = 15;

		// Token: 0x0400276A RID: 10090
		private uint retcode_;

		// Token: 0x0400276B RID: 10091
		public const int HMNMLONMPMAFieldNumber = 8;

		// Token: 0x0400276C RID: 10092
		private PDDIMHHHMKL hMNMLONMPMA_;
	}
}
